package com.cz.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

@Data
@TableName("item")
public class ItemEntity implements Serializable {

    private static final long serialVersionUID = 1763476356844359680L;


    /**    **/
    @TableId(value="id",type = IdType.ASSIGN_ID)
    private Long id;

    /**    **/
    @TableField("item_name")
    private String itemName;

    /**    **/
    @TableField("item_num")
    private Integer itemNum;

}
